<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />		
		<meta name="viewport" content="width=device-width, initial-scale=1">		
		<title>账户信息</title>
		<link rel="stylesheet" href="libs/css/bootstrap.min.css" />
		<link rel="stylesheet" href="main/css/main.css" />		
	</head>
	<body class="personBox">
		<div id="result"></div>
		<textarea id="template" class="template">
			<h1>{$T.storeName}</h1>
			<h3>{$T.equipment}</h3>
			<p>您在该店铺的当前余额：<b class="f-r" id="balance">{$T.residual}元</b></p>			
			{#if $T.records.length==0}		
			
			<h1 class="noInfo">暂无记录</h1>			
			{#else}
			
			<table class="table table-bordered personTable" id="personTable">						
				<tr>
					<th>日期</th>
					<th>类型</th>
					<th>金额(元)</th>
				</tr>			
				
				{#foreach $T.records as record}
				<tr class="personData">
					<td>{$T.record.date}</td>
					<td>{$T.record.typeName}</td>
					<td>{$T.record.sum}</td>
				</tr>
				{#/for}				
			</table>
			{#/if}
		</textarea>
	</body>
	<script src="libs/js/jquery-3.2.1.min.js"></script>	
	<script src="libs/js/jquery-jtemplates.js"></script>
	<script src="main/js/person.js"></script>
</html>
